
using System.Collections;
using QdbUnit.Extensions;
using QdbUnit.Fixtures;
using Qdb.Foundation;

namespace QdbUnit.Extensions.Fixtures
{
	public class QdbFixtureProvider : IFixtureProvider
	{
		public virtual FixtureVariable Variable()
		{
			return QdbFixtureVariable.FixtureVariable;
		}

		public virtual IEnumerator GetEnumerator()
		{
			return Iterators.SingletonIterator(Variable().Value);
		}
	}
}
